body,
html {
    height: 100%;
    box-sizing: border-box;
    overflow: hidden !important;
}

#app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #212121;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul {
    margin: 0;
}

li {
    list-style: none;
}

a {
    color: #fff;
    text-decoration: none;
}

input {
    outline: none;
    font-size: 14px;
    padding-left: 16px;
    color: #2F2F2F;
}

button {
    outline: none;
    border: none;
}


/*fade-transform*/

.fade-transform-leave-active,
.fade-transform-enter-active {
    transition: all 0.5s;
}

.fade-transform-enter {
    opacity: 0;
    transform: translateX(-30px);
}

.fade-transform-leave-to {
    opacity: 0;
    transform: translateX(30px);
}

// table nav 样式
.el-tabs__item.is-active {
    color: #96b327!important;
}


/**************************************************************/

// 滚动条
.happy-scroll-container {
    width: 100% !important;
    height: 100% !important;
}

.happy-scroll-content {
    display: flex !important;
    justify-content: space-between;
}


/**************************************************************/

.el-loading-spinner .path {
    stroke: #96b327 !important;
}

.el-loading-text {
    color: #96b327 !important;
}

// table 操作按钮样式
.el-table .cell {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.el-button--text {
    color: #96b327;
}

.el-button--text:focus span,
.el-button--text:hover span {
    color: #96b327;
    border-bottom: 1px solid #96b327;
}

/////////////////////////// 提示框按钮
.el-button--primary,
.el-button--primary:focus,
.el-button--primary:hover {
    color: #fff;
    background-color: #96b327;
    border-color: #96b327!important;
}

//////////////////////////  table操作按钮
.el-button--text.active {
    color: #fe5c5c;
}

.el-button--text.active:focus span,
.el-button--text.active:hover span {
    color: #fe5c5c;
    border-bottom: 1px solid #fe5c5c;
}


/**************************************************************/

// 公共 tag样式
.el-tag {
    background-color: #96b327;
    border: 1px solid #96b327!important;
}

.el-input__inner:focus {
    border-color: #96b327!important;
}

.el-step__head.is-success {
    color: #96b327!important;
    border-color: #96b327!important;
}

.el-step__title.is-success {
    color: #96b327!important;
}


/**************************************************************/

// table样式 -- 抽屉
.el-drawer {
    height: 90vh !important;
    top: 10vh !important;
}

.el-dialog__wrapper {
    overflow: hidden!important;
}

.el-drawer__title {
    padding: 15px 15px 0;
}

.el-drawer__body {
    padding: 15px;
    height: calc(90vh - 70px);
}

.el-drawer__header {
    line-height: 39px !important;
    border-bottom: 1px solid #ddd;
    font-size: 12px !important;
    padding: 0 15px !important;
    margin-bottom: 0 !important;
}

// 关闭按钮
.el-drawer__close-btn {
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    position: fixed;
    left: calc(20% - 40px);
    top: 10%;
    background: #96b327;
    color: #fff;
}

.el-drawer .el-form-item {
    margin-right: 20px;
}


/**************************************************************/

// dialog弹窗
.el-dialog .el-dialog__header {
    padding: 5px 14px !important;
    background: #f1f1f1;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.el-dialog .el-dialog__header .el-dialog__title {
    color: #65676d;
    font-size: 12px;
}

.el-dialog .el-dialog__header .el-dialog__headerbtn {
    top: 10px;
    right: 10px;
}

.el-dialog .el-dialog__body {
    padding: 0 40px 20px 40px;
}

.el-dialog .el-form-item {
    margin-bottom: 0;
}

.el-dialog .el-row {
    width: 100%;
    margin-top: 30px;
}

.el-dialog .el-input__suffix {
    display: flex;
    align-items: center;
    height: 30px;
}

.el-dialog .el-form {
    margin-bottom: 30px;
}

.dialog-footer {
    text-align: right;
}

// 弹窗公共按钮样式
.dialog-footer .el-button,
.dialog-footer .el-button:hover {
    padding: 0;
    width: 70px;
    font-size: 12px;
    height: 30px;
    background-color: #96b327;
    border: 1px solid #96b327 !important;
    color: #fff;
}


/**************************************************************/

// 公共 input textarea样式
.el-input__inner {
    height: 30px;
    border-radius: 0;
    padding: 0 8px;
    font-size: 12px;
}

.el-textarea__inner {
    font-size: 12px;
    padding: 5px 8px;
}

.el-form-item__content {
    line-height: 30px;
    display: flex;
    justify-content: space-between;
}

// .el-form__details .el-form-item__content
.el-form-item__content .el-input.el-input--suffix,
.el-form-item__content .el-select {
    flex: 1;
}

.el-form-item__content .el-input.el-input--suffix:last-child,
.el-form-item__content .el-select:last-child {
    margin-right: 0;
}

.el-input__suffix {
    height: 30px;
    display: flex;
    align-items: center;
}


/**************************************************************/

// 公共 分页样式
.el-pagination.is-background .el-pager li:not(.disabled).active {
    background: #96b327;
}

.el-pager li.number:hover {
    color: #96b327 !important;
}

.el-pager li.number.active:hover {
    color: #fff !important;
}


/**************************************************************/

.el-upload--picture-card,
.el-upload-list__item {
    height: 100px !important;
    width: 100px !important;
    line-height: 100px !important;
}


/**************************************************************/

// 标签页
.el-tabs {
    width: 100%;
    margin-top: 15px !important;
}

.el-tabs .el-tabs__header {
    padding: 0 !important;
}

.el-tabs--border-card>.el-tabs__content {
    padding: 0;
}

.el-table__fixed-right {
    height: 100% !important;
}


/*************************************************************/

// 首页table样式
.public {
    width: 100%;
    height: calc(100vh - 124px);
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.public-table {
    height: 100%;
}

.public-table thead {
    line-height: 35px !important;
}

.public-table thead th {
    padding: 0 !important;
    background-color: #f5f5f5 !important;
    font-size: 12px;
}

.public-table tbody td {
    padding: 0 !important;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
}

.public-table tbody td .public-table__status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fe5c5c;
}


/********************************************************/

.check-img__dialog .el-dialog {
    height: 500px !important;
}

.check-img__dialog .el-dialog .el-dialog__body {
    height: 446px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-img__dialog .el-dialog .el-dialog__body img,
.check-img__dialog .el-dialog .el-dialog__body video {
    display: block;
    max-width: 400px;
    max-height: 400px;
}

.public-table__status {
    &.over {
        background: #e6a23c;
    }
    &.doing {
        background: #96b327;
    }
}

.el-table__header-wrapper,
th.is-center.is-leaf {
    border-top: 1px solid #ddd;
}